<div class="layui-form" lay-filter="layuiadmin-form-distribadmin" style="padding: 20px 0 0 0;">
  <div class="layui-form-item">
    <label class="layui-form-label">角色ID</label>
    <div class="layui-input-inline">
      <input type="text" name="roleId" value="{{ d.params.roleId || '' }}" lay-verify="required" placeholder="请输入角色ID" autocomplete="off" class="layui-input">
      <input type="hidden" name="distribId" value="{{ d.params.distribId || '' }}" lay-verify="required" placeholder="请输入分配ID" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">工作ID</label>
    <div class="layui-input-inline">
      <input type="text" name="worksId" value="{{ d.params.worksId || '' }}" placeholder="请输入工作ID" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">描述</label>
    <div class="layui-input-inline">
      <textarea name="distribMemo" placeholder="请输入描述" class="layui-textarea">{{ d.params.distribMemo || '' }}</textarea>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="LAY-distrib-front-submit" value="确认" class="layui-btn">
    </div>
  </div>
</div>

<script>
  layui.use(['admin','form'],function (){
    var $=layui.$
    ,form=layui.form;
  });
</script> 